#!/bin/sh
#make
mm=""
if [ "$1" == "rpc" ]
then
   mm="-m rpc"
fi

if [ "$2" == "" ]
then
    np="--numplayers 4"
else
    np="--numplayers $1"
fi

java -jar PRBS.jar -t server $mm -d all $np | tee ServerLog
